Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reweight gemstones in item_groups.json #36734

Merged
merged 3 commits into from
Jan 7, 2020
Merged

Conversation

Jerimee
Copy link
Contributor

@Jerimee Jerimee commented Jan 5, 2020

Summary

SUMMARY: Content "reweight gemstones in item_groups.json"

Purpose of change

Diamonds and pearls are more commonly worn gemstones in New England.

Describe the solution

The item group is subtype is not defined. Therefore it defaults to old, which works as a distribution.

The item_group previously had each item weighted 50. All were equally likely.

I've changed diamond and pearl to 100. So now the probability is:

  • diamond: 12.5%
  • pearl: 12.5%
  • any other: 75%

Describe alternatives you've considered

I considered making emeralds less common due to their rarity, but I couldn't determine an appropriate ratio.

Testing

None! I did this through github in the browser so no testing was done.

Additional context

I want to add turquoise to the table too, but I figured there might be a good reason why this common gemstone was left off.

I also modified a comment to make it easier to specify which file the SUS_fridge item group is in.

#### Summary
```SUMMARY: Content "reweight gemstones in item_groups.json"```
#### Purpose of change

Diamonds and pearls are more commonly worn gemstones in New England.
#### Describe the solution

The item group is subtype is not defined. Therefore it defaults to old, which works as a distribution.

The item_group previously had each item weighted 50. All were equally likely.

I&CleverRaven#39;ve changed diamond and pearl to 100. So now the probability is:

* diamond: 12.5%
* pearl: 12.5%
* any other: 75%
#### Describe alternatives you've considered

I considered making emeralds less common due to their rarity, but I couldn&CleverRaven#39;t determine an appropriate ratio.
#### Testing

None! I did this through github in the browser so no testing was done.
#### Additional context

I want to add turquoise to the table too, but I figured there might be a good reason why this common gemstone was left off.
@curstwist curstwist added [JSON] Changes (can be) made in JSON Items / Item Actions / Item Qualities Items and how they work and interact Spawn Creatures, items, vehicles, locations appearing on map labels Jan 6, 2020
@Jerimee
Copy link
Contributor Author

Jerimee commented Jan 6, 2020

I also modified a comment to make it easier to specify which file the SUS_fridge item group is in.

@ZhilkinSerg ZhilkinSerg merged commit bd22b04 into CleverRaven:master Jan 7, 2020
fengjixuchui added a commit to fengjixuchui/Cataclysm-DDA that referenced this pull request Jan 7, 2020
reweight gemstones in item_groups.json (CleverRaven#36734)
@Jerimee Jerimee deleted the patch-8 branch January 25, 2020 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items / Item Actions / Item Qualities Items and how they work and interact [JSON] Changes (can be) made in JSON Spawn Creatures, items, vehicles, locations appearing on map
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants